# set this variable to the director in which you saved the common files
commondir = ../common/

all : projected

projected: projected.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c
	gcc -Wall -o projected -I$(commondir) -I$(commondir)Linux -DGL_GLEXT_PROTOTYPES projected.cpp $(commondir)GL_utilities.c $(commondir)LoadTGA.c $(commondir)Linux/MicroGlut.c -lX11 -lGL -lm

clean :
	rm projected

